package com.cuicuisha.gxyp.feign.cart;

import com.cuicuisha.gxyp.model.entity.cart.CartInfo;
import com.cuicuisha.gxyp.model.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * ClassName: CartFeignClient
 * Description:
 *
 * @Author 脆脆鲨
 * @Create 2024-09-23 14:55
 * @Version 1.0
 */
@FeignClient(value = "service-cart")
public interface CartFeignClient {

    @GetMapping("/api/order/cart/auth/getAllChecked")
    Result<List<CartInfo>> getAllChecked();

    @GetMapping(value = "/api/order/cart/auth/deleteChecked")
    public Result deleteChecked();
}
